<template>
  <el-container class="app">
    <el-aside width="200px">
      <DynamicMenu></DynamicMenu>
    </el-aside>
    <el-container>
      <el-header>
        系统页面
      </el-header>
      <el-main class="main"> <router-view /> </el-main>
    </el-container>
  </el-container>
</template>
<script>
import DynamicMenu from "./components/menus/DynamicMenu.vue";
export default {
  components: {
    DynamicMenu,
  },
};
</script>

<style lang="less" scoped>
.app {
  overflow: hidden;
  height: 100vh;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  line-height: 60px;
}

.el-aside {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>
